<!DOCTYPE html>
<html>

	<head>
		<base href="../" />
		<meta charset="utf-8" />
		<title>快乐购 - 确认订单</title>

		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

		<!-- CSS -->
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="css/glyphicons-halflings.min.css">
		<link rel="stylesheet" type="text/css" href="css/default.min.css" />

		<!-- JS -->
		<script src="js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/bootstrap.bundle.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="my/myjs/order-confirm.js" type="text/javascript" charset="utf-8"></script>

	</head>

	<body>
		<!-- 导航条开始 -->
		<div id="head-div" >

		</div>
		<script>
			$("#head-div").load("head.html");
		</script>
		<!--头部结束-->
		<!-- //导航条结束 -->

		<!-- 页面主体部分 -->
		<section class="container mt-2">

			<!-- 订单明细部分 -->
			<form id="form-order">
				<div class="h3 border-bottom">订单明细</div>
				
				<table class="table table-sm table-striped table-condensed">
					<thead class="thead-dark">
						<tr>
							<th>商品名称</th>
							<th>单价(元)</th>
							<th>数量</th>
							<th>小计金额(元)</th>
						</tr>
					</thead>
					<tbody id="tbody">

					</tbody>
					<tfoot>
						<tr>
							<td colspan="2" align="right">
								<div class="cart-foot-sum text-muted">
									<small>应付款：</small>
								</div>
							</td>
							<td colspan="2" align="left">
								<div class="cart-foot-sum text-danger">
									<small>￥</small>
									<span id="sumPrice"></span>
								</div>
							</td>
						</tr>
					</tfoot>
				</table>
				<div>收货地址：</div>
				<!-- 没有收货地址时显示以下注释的内容，并将提交按钮禁用(disabled)-->
				<!-- <div class="h3 text-muted">
					暂无收货地址
				</div> -->
				<div id="user-address">

				</div>

				<a href="my/address.html">管理收货地址</a>

				<div class="d-flex justify-content-end">
					<button class="btn btn-lg btn-success" type="button" id="tjdd-btn">
						<span class="glyphicon-shopping-cart"></span>
						<span>确认提交订单</span>
					</button>
				</div>
			</form>
			<!-- //订单明细部分结束 -->

		</section>
		<!-- //页面主体部分结束 -->

		<!-- 页面脚部部分 -->
		<div id="footer-div">

		</div>
		<script>
			$("#footer-div").load("footer.html");
		</script>
		<!-- //页面脚部部分结束 -->
	</body>

</html>
